package com.wangcang.widgetlibrary.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.wangcang.widgetlibrary.R;

/**
 * Notification跳转类
 * Created by ShineF on 2017/6/19 0019.
 */

public class IntentActivity extends AppCompatActivity {

    private TextView mTvContent;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_notification_intent);
        mTvContent = (TextView) findViewById(R.id.tv_data);
        String content = getIntent().getStringExtra("content");
        if (null != content) {
            mTvContent.setText(content);
        }
    }
}
